package com.dingding.study.service.拦截返回值;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.stereotype.Component;

/**
 * @program: spring-learning
 * @description:
 * @author: liugongding
 * @create: 2021-09-24 17:50
 **/

@EnableAspectJAutoProxy
@Component
@Aspect
@Slf4j
public class Result {

//    @Pointcut("@annotation(com.dingding.study.annotation.ResponseResultBody)")
//    public void resultAspect(){}
//
//    @Around(value = "resultAspect()")
//    public Object repeatAccessDeniedAround(ProceedingJoinPoint joinPoint) throws Throwable {
//
//        return null;
//    }

}
